package com.opencloud.ywt.client.model.entity;

import com.baomidou.mybatisplus.annotation.*;
import io.swagger.annotations.ApiModelProperty;

import java.io.Serializable;
import java.util.Date;

/**
 * 城市信息
 * @author yeyong
 */
@TableName("bhyf_bdb_observ_detail")
public class BhyfBdbObservDetail implements Serializable {

    private static final long serialVersionUID= -964202352621690483L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty(value = "观察记录ID")
    private Integer observrecordid;

    @ApiModelProperty(value = "目标id")
    private Integer ruleobjectid;

    @ApiModelProperty(value = "目标名称")
    private String ruleobjectname;

    @ApiModelProperty(value = "原有表现")
    private String beforestatus;

    @ApiModelProperty(value = "现有表现")
    private String afterstatus;

    @ApiModelProperty(value = "是否提升")
    private Integer isup;

    @ApiModelProperty(value = "是否挑战")
    private Integer ishard;

    @TableField(fill = FieldFill.INSERT)
    private Date createtime;

    @TableField(fill = FieldFill.UPDATE)
    private Date updatetime;


    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getObservrecordid() {
        return observrecordid;
    }

    public void setObservrecordid(Integer observrecordid) {
        this.observrecordid = observrecordid;
    }

    public String getRuleobjectname() {
        return ruleobjectname;
    }

    public void setRuleobjectname(String ruleobjectname) {
        this.ruleobjectname = ruleobjectname;
    }

    public String getBeforestatus() {
        return beforestatus;
    }

    public void setBeforestatus(String beforestatus) {
        this.beforestatus = beforestatus;
    }

    public Integer getRuleobjectid() {
        return ruleobjectid;
    }

    public void setRuleobjectid(Integer ruleobjectid) {
        this.ruleobjectid = ruleobjectid;
    }

    public String getAfterstatus() {
        return afterstatus;
    }

    public void setAfterstatus(String afterstatus) {
        this.afterstatus = afterstatus;
    }

    public Integer getIsup() {
        return isup;
    }

    public void setIsup(Integer isup) {
        this.isup = isup;
    }

    public Integer getIshard() {
        return ishard;
    }

    public void setIshard(Integer ishard) {
        this.ishard = ishard;
    }

    public Date getCreatetime() {
        return createtime;
    }

    public void setCreatetime(Date createtime) {
        this.createtime = createtime;
    }

    public Date getUpdatetime() {
        return updatetime;
    }

    public void setUpdatetime(Date updatetime) {
        this.updatetime = updatetime;
    }

    @Override
    public String toString() {
        return "BhyfBdbObservDetail{" +
                "id=" + id +
                ", ruleobjectname=" + ruleobjectname +
                ", ruleobjectid=" + ruleobjectid +
                ", afterstatus=" + afterstatus +
                ", beforestatus=" + beforestatus +
                ", ishard=" + ishard +
                ", isup=" + isup +
                ", createtime=" + createtime +
                ", updatetime=" + updatetime +
                ", observrecordid=" + observrecordid +
                "}";
    }
}
